package com.gxl.butt.DAO;

import com.gxl.butt.domain.TopicStatus;

import java.util.List;

/**
 * Created by GUOXIAOLIN on 2018/11/14.
 */
public interface ItopicStatusDAO {

    /*更新topic状态*/
    boolean updateTopicStatus(TopicStatus topicStatus);

    /*获取topic状态记录*/
    List<TopicStatus> getTopicStatusByTopicId(Long topicid);

    /* 新增topicstatus记录*/
    Long saveTopicStatus(TopicStatus topicStatus);

    /**根据topicname获取topicstatus 记录*/
    List<TopicStatus> getTopicStatusByTopicName(String topicName);
}
